package day06;

public class ArrayDemo {
    public static void main(String[] args){
        //数组的复制
        int[ ]a={10,20,30,40,50};
        int[ ]b=new int[6];
        System.arraycopy(a,1,b,0,4);
        for(int i=0;i<b.length;i++){
            System.out.println(b[i]);
        }
    }
}

